package com.cuicuisha.gxyp.cart.service;

import com.cuicuisha.gxyp.model.entity.cart.CartInfo;

import java.util.List;

/**
 * ClassName: CartService
 * Description:
 *
 * @Author 脆脆鲨
 * @Create 2024-09-22 22:00
 * @Version 1.0
 */
public interface CartService {
    void addToCart(Long skuId, Integer skuNum);

    List<CartInfo> getCartList();

    void deleteCart(Long skuId);

    void checkCart(Long skuId, Integer isChecked);

    void allCheckCart(Integer isChecked);

    void clearCart();


    List<CartInfo> getAllChecked();

    void deleteChecked();
}
